﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Tags.aspx.cs" Inherits="Web.Admin.Tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <br />
    <a href="Tags_Add.aspx">添加</a>
    <br /><br /><h1>Tag列表</h1>
    <table width="96%" cellpadding="6" cellspacing="0" border="1">
        <asp:Repeater ID="Repeater1" runat="server" 
            onitemcommand="Repeater1_ItemCommand">
        <HeaderTemplate>
        <tbody>
            <tr>
                <th>标签名称</th>
                <th>英文名称</th>
                <th>关键字</th>
                <th>描述说明</th>
                <th>分类</th>
                <th>状态标识</th>
                <th>删除</th>
                <th>修改</th>
            </tr>
         </tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td><%# DataBinder.Eval(Container.DataItem, "Name")%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "EName")%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "Keywords")%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "Remark")%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "TagType")%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "State")%></td>
                <td>
                    <asp:LinkButton ID="lbtdelete" runat="server" Text="删除" CommandName="remove" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID")%>'></asp:LinkButton>
                </td>
                <td>
                    <a href="Tags_Modify.aspx?id=<%# DataBinder.Eval(Container.DataItem, "id")%>">修改</a>
                </td>
            </tr>
        </ItemTemplate>
        </asp:Repeater>
    </table>
    </div>
    </form>
</body>
</html>
